package com.powergisol.gis.dao;

import com.powergisol.gis.entity.LatitudeLongitude;
import com.powergisol.gis.entity.TabSpace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TabSpaceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TabSpace record);

    int insertSelective(TabSpace record);

    TabSpace selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TabSpace record);

    int updateByPrimaryKey(TabSpace record);

    List<LatitudeLongitude> selectByDrawId(@Param("drawId") Integer drawId);
}